
function calculate(){
	var OVERLAP=25;
	var winH=$(window).height();
	var winW=$(window).width();
	var heardH=$(".header").outerHeight();
	var contentH=winH-heardH+OVERLAP-50;
	var fraudTopBarH=(contentH-60*2-28)/2;
	var cLeftW=$(".c_left").width()
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:heardH
	});
	$(".c_middle").width((winW-cLeftW)*0.65)
	$(".ec_map").height(contentH-100)
	$(".c_right").width((winW-cLeftW)*0.35-20-120)
	$(".ec_pie").height((contentH-70-45)*0.45)
	$(".ec_bar").height((contentH-70-45)*0.55)
}

function calculate2nd(){
	var OVERLAP=25;
	var winH=$(window).height();
	var winW=$(window).width();
	var heardH=$(".header").outerHeight();
	var contentH=winH-80;
	var fraudTopBarH=(contentH-60*2-28)/2;
	var cLeftW=$(".c_left").width()
	$(".container").height(winH-1).width(winW);
	$(".content").css({
		height:contentH-30,
		width:winW,
		top:'80px'
	});
	var tableHeard1=$(".tab_classify").eq(0).outerHeight()
	var tableHeard2=$(".tab_classify").eq(1).outerHeight()
	var tableHeard3=$(".tab_classify").eq(2).outerHeight()
	
	$(".bottom_content").height(contentH-54)
	var left=$(".bottom_content").height()
	$(".ec_table_box").height(left*0.45)
	$("#ec_pie_nd").height(left*0.45*0.68)
	
	$(".barListLeft").height(left*0.55-10)
	$(".pieBox").height(left*0.55)
	
	$(".ec_map_nd").height(left-80)
	$(".myBarList").height($(".barListLeft").height()-100)
	$(".map_middle").height(contentH-52)
	//$(".tab_right .tab_scr").height((contentH-tableHeard1-tableHeard2-tableHeard3-20)*0.3-30)
	
//	$("#barList1,#barList2,#barList3").height((contentH-tableHeard1-tableHeard2-tableHeard3-20)*0.3-23)
	
	$(".tab_classify_middle").height(left*0.3-35).width(winW*0.3-20)
	$(".tab_classify_right").height(left*0.3-35).width(winW*0.3-20)
	$(".ecBox").height(contentH*0.5-30-38)
//	$(".right_table_box").height((contentH-120)*0.35)
}

function calculate3rd(){
	var OVERLAP=25;
	var winH=$(window).height();
	var winW=$(window).width();
	var heardH=$(".header").outerHeight();
	var contentH=winH-heardH+OVERLAP-50;
	var fraudTopBarH=(contentH-60*2-28)/2;
	var cLeftW=$(".c_left").width();
	var tabScrH=(contentH)*0.33-80
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:heardH
	});
	$(".tab_classify_middle").height(tabScrH+29).width(winW*0.3-20)
	$(".tab_scr").height(tabScrH)
	$("#yunPie").height(tabScrH)
	
	$(".ec_map_rd").height(contentH-120-60-50)
	$(".pie_box").height((contentH-120-60-50)*0.5)
}

function calculate4th(){
	var winH=$(window).height();
	var winW=$(window).width();
	$(".container").height(winH).width(winW);
	var contentH=winH-110;
	$(".content").css({
		height:contentH,
		width:winW,
		top:'85px'
	});
	$(".bottom_content").height(contentH-30)
	var left=$(".bottom_content").height()
	
	//$(".right_content_top").height(left*0.45)
	//$(".right_content_center").height(left*0.35)
	$(".right_content_center .tab_scr").height(left-300-$(".tabType").height()-50)
	$(".ec_pie").height((left-240)*0.5*0.7)
	
	$(".ec_map_th").height(left-180)
	$(".domain_left .resource_no").height(left-40)
	$(".domain_left .tab_scr").height(left-90)
}

function calculate5th(){
	var OVERLAP=25;
	var winH=$(window).height();
	var winW=$(window).width();
	var heardH=$(".header").outerHeight();
	var contentH=winH-heardH+OVERLAP-50;
	var fraudTopBarH=(contentH-60*2-28)/2;
	var cLeftW=$(".c_left").width()
	var rightContentTopH= $(".right_content_top").height()
	var rightContentMiddle =$(".right_content_middle").height()
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:heardH
	});
	$(".ec_map_th").height((contentH-150))
	$(".right_content_middle").height((contentH-150)*0.5)
	$(".ec_bar").height((contentH-150)*0.5-30)
	$(".right_content_bottom").height((contentH-150)*0.5)
	$(".ec_pie").height((contentH-150)*0.5-30)
}


function popularFeelings(){
	var OVERLAP=25;
	var winH=$(window).height();
	var winW=$(window).width();
	var heardH=$(".header").outerHeight();
	var contentH=winH-heardH+OVERLAP-50;
	var fraudTopBarH=(contentH-60*2-28)/2;
	var cLeftW=$(".c_left").width()
	var rightContentTopH= $(".right_content_top").height()
	var rightContentMiddle =$(".right_content_middle").height()
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:heardH
	});
	$(".ec_map_th").height((contentH-90))
//	$(".right_content_middle").height((contentH-150)*0.5)
	$(".ec_bar").height((contentH-150)*0.5-30)
	$(".right_content_bottom").height((contentH-150)*0.5)
	$(".ec_pie").height((contentH-100)*0.5-30)
}

function dxMar(){
	var OVERLAP=25;
	var winH=$(window).height();
	var winW=$(window).width();
	var heardH=$(".header").outerHeight();
	var contentH=winH-heardH+OVERLAP-50;
	var fraudTopBarH=(contentH-60*2-28)/2;
	var cLeftW=$(".c_left").width()
	var rightContentTopH= $(".right_content_top").height()
	var rightContentMiddle =$(".right_content_middle").height()
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:heardH
	});
	$(".ec_map_th").height((contentH-120))
	$(".ec_pie,.ecLine").height((contentH-150)*0.5)
}

function calculateIndex(){
	var OVERLAP=25;
	var winH=$(window).height();
	var winW=$(window).width();
	var heardH=$(".header").outerHeight();
	var contentH=winH-heardH+OVERLAP-50;
	var fraudTopBarH=(contentH-60*2-28)/2;
	var cLeftW=$(".c_left").width()
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:heardH
	});
	console.log($(".index_foot").height())
	var navBgH=winH-$(".index_foot	").height();
	$(".nav_bg").height(navBgH);
	$(".sub_menu4 .sub_menu_bottom").css('margin-top',($(".nav_bg").height()-450)*0.5)
	$(".sub_menu5 .sub_menu_bottom").css('margin-top',($(".nav_bg").height()-450)*0.5)
	$(".sub_menu7 .sub_menu_bottom").css('margin-top',($(".nav_bg").height()-450)*0.5)
	$(".sub_menu1").css('margin-top',(navBgH-650)*0.5)
	$(".sub_menu2").css('margin-top',(navBgH-650)*0.5)
	$(".sub_menu3").css('margin-top',(navBgH-650)*0.5)
	$(".sub_menu6").css('margin-top',(navBgH-650)*0.5)
//	$(".sub_menu1").css('margin-top',($(".nav_bg").height()-550)*0.5)
}

function calculate6th(){
	var OVERLAP=25;
	var winH=$(window).height();
	var winW=$(window).width();
	var heardH=$(".header").outerHeight();
	var contentH=winH-heardH+OVERLAP-50;
	var fraudTopBarH=(contentH-60*2-28)/2;
	var cLeftW=$(".c_left").width()
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:heardH
	});
	$(".bottom_content").height(contentH-30)
	$(".ecPieLeft,.ecPieRight").height($(".top_ec_pie").height()-64)
	$(".ecBar").height($(".bottom_ec_bar").height()-80)
	$(".timeLineBox").css({
		'margin-top':($(".timeLeft").height()-223)/2
	})
}

function calculate7th(){
	var OVERLAP=25;
	var winH=$(window).height();
	var winW=$(window).width();
	var heardH=$(".header").outerHeight();
	var contentH=winH-110;
	var fraudTopBarH=(contentH-60*2-28)/2;
	var cLeftW=$(".c_left").width()
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'85px'
	});
	$(".bottom_content_imp").height(contentH-24)
	$(".tab_scr").height((contentH-24)*0.5-90)
	$(".tab_scr_right").height((contentH-24)*0.5-90)
	$(".echarts_box").height((contentH-24)*0.5-50).width(winW*0.25)
	$(".ec_map").height(contentH-24-80)
}


function pageView(){
	var winH=$(window).height();
	var winW=$(window).width();
	var contentH=winH-80;
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'80px'
	});
	$(".bottom_content_imp").height(contentH-44)
	var left=$(".imp_left").height()

	$(".tj_pie").height((contentH-29)*0.5-20)
	$("#webPie").height((contentH-29)*0.5-30)

	$(".join_pie").height((contentH-50)*0.5)
	$("#joinWebPie").height((contentH-50)*0.5-30)

	$("#webChina").height(contentH-24-80)

	$(".webBar,.webLine").height((contentH-38)*0.5-10)
	var width=$(".web_right").width()
	$("#webBar1,#webBar2").height(left*0.5*0.9).width(width)
	$("#webLine").height(left*0.5*0.9)
	$(".totleBox").height((contentH-50)*0.5-36)
}

function pageLog(){
	var winH=$(window).height();
	var winW=$(window).width();
	var contentH=winH-100;
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'85px'
	});
	$(".bottom_content_imp").height(contentH-24)
	var left=$(".imp_left").height()
	$(".tj_com").height(left*0.5)
	$(".tj_logType").height(left*0.5)
	$("#logPie").height(left*0.5*0.8)
	$("#logChina").height(contentH-24-120)

	$(".logRTop").height(left*0.5)
	$(".logRFoot").height(left*0.5)
	$("#logOper,#logSurfType").height(left*0.5*0.9)

}

function pageApp(){
	var winH=$(window).height();
	var winW=$(window).width();
	var contentH=winH-110;
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'85px'
	});
	$(".bottom_content_imp").height(contentH-24)
	var left=$(".app_center").height()
	$(".detailBox").height(left*0.7)
	
	$("#APPChina").height(contentH-24-80)
	$(".webBox").height(contentH-24-80)
	$(".appRTop").height(left*0.5)
	$(".appRFoot").height(left*0.5)
	$("#appPie1,#appPie2").height(left*0.5*0.8)
	$("#appLine").height(left*0.5*0.9)

}

function pageIdc(){
	var winH=$(window).height();
	var winW=$(window).width();
	var contentH=winH-110;
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'85px'
	});
	$(".bottom_content_imp").height(contentH-24)
	var left=$(".IDC_center").height()
	$("#IDCline1,#IDCline2,#IDCline3,#IDCline4").height(left*0.5*0.9)
}

function pageBusiness(){
	var winH=$(window).height();
	var winW=$(window).width();
	var contentH=winH-100;
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'85px'
	});
	$(".bottom_content_imp").height(contentH-24)
	var left=$(".key_left").height()
	$(".key_pie,.key_top,.key_web").height(left*0.5)
    $("#keyPie").height(left*0.5*0.75)
    $("#keyLine").height(left*0.5*0.8)
	$("#keyBar").height(left*0.5*0.95)
	
	$(".keyRtop").height(left*0.65)
	$(".keyRfoot").height(left*0.35)
	$("#keyChina").height(left*0.65*0.9)
	$(".keyRfoot .table_box_imp .tab_scr").height(left*0.35*0.55)
}

function chinaApp(){
	var winH=$(window).height();
	var winW=$(window).width();
	var contentH=winH-110;
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'85px'
	});
	$(".bottom_content_imp").height(contentH-24)
	var left=$(".app_center").height()
	$("#APPChina").height(contentH-24-80)
	$(".appRTop").height(left*0.5)
	$(".appRFoot").height(left*0.5)
	$("#appPie1,#appPie2,#appLine1,#appLine2").height(left*0.5*0.9)
	$(".tab_scr").height(contentH-110)
}


//经融类分析
function financeApp(){
	var OVERLAP=25;
	var winH=$(window).height();
	var winW=$(window).width();
	var heardH=$(".header").outerHeight();
	var contentH=winH-110;
	var fraudTopBarH=(contentH-60*2-28)/2;
	var cLeftW=$(".c_left").width()
	$(".container").height(winH-1).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'85px'
	});
	$(".table_box").height((contentH)*0.4)
	$(".tab_scr").height((contentH-100)*0.5-50)
	$(".map_middle").height(contentH-80)
	$(".ec_pie_nd,.ec_line_nd").height((contentH)*0.5-50)
	$(".right_bottom_bar").height((contentH)*0.5-50)
}

//资源转租情况
function resourcePage(){
	var winH=$(window).height();
	var winW=$(window).width();
	var contentH=winH-110;
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'85px'
	});
//	$(".lineEc,.graphEc").height(left*0.5*0.9)
	$(".mapEc").height((contentH-120)*0.7)
	$(".barEc").height((contentH-120)*0.3)
	$(".lineEc").height((contentH-120)*0.4)
	$(".graphEc").height((contentH-120)*0.6)
}

//工业互联网融合

function industrial(){
	var OVERLAP=25;
	var winH=$(window).height();
	var winW=$(window).width();
	var heardH=$(".header").outerHeight();
	var contentH=winH-heardH+OVERLAP-50;
	var fraudTopBarH=(contentH-60*2-28)/2;
	var cLeftW=$(".c_left").width()
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:heardH
	});
	$(".bottom_content_imp").height(contentH-24)
	console.log(contentH)
//	$(".industrial_ec").height(contentH-24)
//	$(".tab_scr").height((contentH-24)*0.333-90)
//	$(".echarts_box").height((contentH-24)*0.333-50)
	$(".industrial_ec,.echarts_box").height((contentH-24-80)*0.5-50)
	$(".ec_map").height(contentH-24-80)
	$(".ec_table_scr").height((contentH-24)*0.5-50-60)
}

//网站信息管理
function webInfoEc(){
	var OVERLAP=25;
	var winH=$(window).height();
	var winW=$(window).width();
	var heardH=$(".header").outerHeight();
	//var contentH=winH-heardH+OVERLAP-50;
	var contentH=winH-110;
	var fraudTopBarH=(contentH-60*2-28)/2;
	var cLeftW=$(".c_left").width()
	$(".container").height(winH-1).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'85px'
	});
//	$(".table_box").height((contentH-120)*0.4)
	$(".tab_scr").height((contentH-40)*0.3-60)
	$(".ecLine").height((contentH-40)*0.3-20)
//	$(".pieBox").height((contentH-120-40)*0.5)
//	$(".barBottomBox").height(contentH-(contentH-120-40)*0.5-260)
	$(".ecMap").height(contentH-100)
}

//互联网舆情
function webOpininon(){
	var winH=$(window).height();
	var winW=$(window).width();
	var contentH=winH-110;
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'85px'
	});
//	$(".bottom_content_imp").height(contentH-24)
	$(".ecBar").height((contentH-24-180-70)*0.5)
}


//在线设备安全检测
function equipLine(){
	var winH=$(window).height();
	var winW=$(window).width();
	var contentH=winH-150;
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'85px'
	});
	$(".bottom_content_imp").height(contentH-24)
	var left=$(".imp_left").height()
	var width=$(".imp_left").width()

	$(".tj_pie").height(left*0.35)
	$("#gyBar1,#gyBar2").height(left*0.35*0.8).width(width)

	$(".sb_pie").height(left*0.3)
	$("#gyPie1").height(left*0.3*0.8)

	$(".join_pie").height(left*0.35)
	$("#gyBar3").height(left*0.35*0.9)

	$("#webChina").height(contentH-24-140)

	$(".lineBar").height(left*0.35)
	$("#gyPie2,#gyPie3").height(left*0.35*0.8)

	$(".lineList").height(left*0.3)
	$("#ranklistRight2").height(left*0.3-70)

	$(".lineBank").height(left*0.35)
	$("#gyRander").height(left*0.35*0.8)
}
//工业互联网资源概况
function equipRec(){
	var winH=$(window).height();
	var winW=$(window).width();
	var contentH=winH-150;
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'85px'
	});
	$(".bottom_content_imp").height(contentH-24)
	var left=$(".imp_left").height()

	$(".tj_pie").height(left*0.55)
	$("#gyBar1").height(left*0.55*0.9)

	$(".join_pie").height(left*0.45)
	$("#gyPie1").height(left*0.45*0.9)

	$("#webChina").height(contentH-24-80)

	$(".lineBar").height(left*0.5)
	$("#gyPie2").height(left*0.5*0.8)

	$(".lineList").height(left*0.5)
	$("#ranklistRight2").height(left*0.5-90)
}

//山东省内监测
function sdMonitor(){
	var winH=$(window).height();
	var winW=$(window).width();
	var contentH=winH-140;
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'75px'
	});
	//$(".bottom_content_imp").height(contentH-24)
	var left=$(".content").height()
    $(".mapBorder").height(left-40)

	
	$(".ldPie").height(left*0.3)
	$("#ldPie1,#ldPie2").height(left*0.3*0.9)
	$("#ldPie3,#ldPie4").height(left*0.3*0.9)

	$(".sbType").height(left*0.35)
	$("#sbPie3").height(left*0.35*0.7)

	$(".sdong_right .mapList").height(left*0.35-60)
	$("#ranklistRight3").height(left*0.35-60-28)
	
	$(".sdong_right").height(left).width(winW-1000-20)

	var $border=$(".webChina").height()
	$("#webChina").height($border)
	$(".webCity").height($border)
	$(".webBJ,.webSD").height($border*0.5)
	$("#webBJ,#webSD").height($border*0.5*0.95)

	$(".sdong_center .centerList").height(left-$border)
	$("#ranklistRight5,#ranklistRight6").height(left-$border-80)
	$("#cityBar").height(left-$border-10)

}
//工业互联网平台监测
function industryInt(){
	var winH=$(window).height();
	var winW=$(window).width();
	var contentH=winH-150;
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'85px'
	});
	$(".bottom_content_imp").height(contentH-24)
	var left=$(".imp_left").height()
	var width=$(".imp_left").width()

	$(".tj_pie").height(left*0.3)
	$("#webPie").height(left*0.3*0.9).width(width)

	$(".tj_bar").height(left*0.3)
	$("#provinceBar").height(left*0.3*0.9).width(width)

	$(".join_pie").height(left*0.4)
	$("#numBarLineEc").height(left*0.4*0.9)

	$("#webChina").height(contentH-24-100)

	$(".webBar").height(left*0.35)
	$("#rightPie1,#rightPie2").height(left*0.35*0.9).width(width)

	$(".webLine").height(left*0.3)
	$("#rightBar").height(left*0.3*0.9)

	$(".webLine2").height(left*0.35)
	$("#rightBar2").height(left*0.35*0.9)
}



function yunSource(){
	var winH=$(window).height();
	var winW=$(window).width();
	var contentH=winH-160;
	$(".container").height(winH-1).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'125px'
	});	
	$(".bottom_content").height(contentH)
	var left=$(".bottom_content").height()

    $(".ec_map_nd").height(left*0.9)
    $("#ranklistRight1").height(left-70)
    
    $(".proItem #barList1,.zzItem #barList2,.jcItem #barList3").height(left*0.33-45)
    
    $(".proCDN #barList1").height(left*0.5-45)
    $(".comCDN #barList2").height(left*0.5-45)
    
}



function newTech(){
	var winH=$(window).height();
	var winW=$(window).width();
	var contentH=winH-110;
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'85px'
	});
	$(".bottom_content").height(contentH)
	var left=$(".bottom_content").height()
	
	$(".ec_map_th").height(left*0.8)
	$("#techLine").height(left*0.45-50)
	$("#techPie").height(left*0.55-50)
}

function importantPro(){
	var winH=$(window).height();
	var winW=$(window).width();
	var contentH=winH-110;
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'85px'
	});
	$(".tab_scr_left").height((contentH-30-70)*0.3*0.5)
	$(".ecPie").height((contentH-30-200)*0.7)
	$(".ecMap").height(contentH-80)
	$(".tab_scr_right").height((contentH-280)*0.33)
//	$(".ecPie").height((contentH-30-50)*0.5)
}

//扫黄打非
function shdf(){
	var OVERLAP=25;
	var winH=$(window).height();
	var winW=$(window).width();
	var heardH=$(".header").outerHeight();
	var contentH=winH-heardH+OVERLAP-50;
	var fraudTopBarH=(contentH-60*2-28)/2;
	var cLeftW=$(".c_left").width()
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:heardH
	});
	$(".bottom_content").height(contentH-30)
	$(".ecPieLeft,.ecPieRight").height($(".top_ec_pie").height()-64)
	$(".ecBar").height($(".bottom_ec_bar").height()-50)
	$(".listBox").height(contentH*0.5-80)	
}

function pageApp2(){
	var winH=$(window).height();
	var winW=$(window).width();
	var contentH=winH-110;
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'85px'
	});
	$(".bottom_content_imp").height(contentH-24)
	var left=$(".app_center").height()
	$(".detailBox").height(left*0.7)
	
	$("#APPChina").height(contentH-24-80)
	$(".webBox").height(contentH-24-80)
	$(".appRTop").height(left*0.5)
	$(".appRFoot").height(left*0.5)
	$("#appPie1,#appPie2").height(left*0.5*0.8)
	$("#appLine").height(left*0.5*0.9)
}

function pageApp3(){
	var winH=$(window).height();
	var winW=$(window).width();
	var contentH=winH-110;
	$(".container").height(winH).width(winW);
	$(".content").css({
		height:contentH,
		width:winW,
		top:'85px'
	});
	$(".webContentBox").height(contentH-24)
	$(".tab_scr").height((contentH-24)*0.33-80)
	$(".ecMap").height(contentH-24-60)
}

